package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.ImgAssets;
import com.xjgzinfo.usdp.service.dto.ImgAssetsDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link ImgAssets} and its DTO {@link ImgAssetsDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface ImgAssetsMapper extends EntityMapper<ImgAssetsDTO, ImgAssets> {


    default ImgAssets fromId(Long id) {
        if (id == null) {
            return null;
        }
        ImgAssets imgAssets = new ImgAssets();
        imgAssets.setId(id);
        return imgAssets;
    }
}
